/*
 * Copyright (c) 2022, tyustli
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-02-08     tyustli      first implementation
 */

#include <stdio.h>
#include <math.h>

int main(int argc, char **argv)
{

    int num1 = 72;
    int num2 = 120;

    for (int i = num1 > num2 ? num1 : num2; i <= num1 * num2; i++)
    {
        if (i % num1 == 0 && i % num2 == 0)
        {
            printf("最小公倍数是：%d\r\n", i);
            break;
        }
    }

    return 0;
}

/******************** end of file **********************/
